package io.renren.modules.avanotes.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 专题作业/题库表
 *
 * @author zzr
 * @email 529742454@qq.com
 * @date 2022-02-25 10:45:17
 */
@Data
@TableName("special_subject_work")
public class SpecialSubjectWorkEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public static String CN_ID = "id";
    public static String CN_SPECIAL_ID = "special_id";
    public static String CN_TITLE = "title";
    public static String CN_PATH = "path";
    public static String CN_CREATE_USER_ID = "create_user_id";
    public static String CN_CREATE_TIME = "create_time";

    /**
     * 评价id
     */
    @TableId
    private Integer id;
    /**
     * 专题id
     */
    @NotBlank(message = "专题ID 不能为空！")
    private Integer specialId;
    /**
     * 作业名称
     */
    private String title;
    /**
     * 作业路径
     */
    private String path;
    /**
     * 评价用户id
     */
    private Long createUserId;
    /**
     * 创建时间
     */
    private Date createTime;

}
